<div class="zero" class:first={true}></div>
<div class:second={true} class:third={true}></div>

<style>
  .zero.first { color: green }
  .second { color: green }
  .third { color: green }
  .forth { color: red }
</style>